home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19981211-19990422
/
000150_news@watsun.cc.columbia.edu _Wed Jan 27 11:18:09 1999.msg
< prev
next >
Wrap
Internet Message Format
|
1999-04-21
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA07573
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 27 Jan 1999 11:18:09 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA02492
for kermit.misc@watsun.cc.columbia.edu; Wed, 27 Jan 1999 11:11:32 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: using C-Kermit (on Linux) to comm. with RS-232 device
Date: 27 Jan 1999 16:11:29 GMT
Organization: Columbia University
Message-ID: <78ndrh$2dq$1@newsmaster.cc.columbia.edu>
To: kermit.misc@mailrelay2.cc.columbia.edu
In article <36ADCC90.6509@techst02.technion.ac.il>,
Evgeni Krimer <sek@techst02.technion.ac.il> wrote:
: I am tring to communicate with RS-232 device ,
: working on Linux platform with C-Kermit.
:
: All I have to do is :
: 1. to send (binary) set of commands
: 2. to recive (binary) responce
:
: the question is :
: HOW DO I RECIVE UNKNOWN AMOUNT OF DATA?
:
: Please if you could give a short example of such a script...
:
The INPUT and MINPUT commands let you receive data:
a. For a given amount of time, or:
b. Until a certain character string comes, or:
c. Until one of several character strings come, or:
d. Until any character comes.
Each of these methods is described in the manual, along with
the method for retrieving the data values thus obtained.
The method you should use depends on how Kermit is supposed
to know when the responce is finished.
- Frank